﻿//
// *************************************************************************************
// WP-Framework
// 
// Developed by
// Lukas Kretschmar (lkretschmar.dev@bluewin.ch)
//
// Switzerland, Copyright (c) 2013 lkretschmar
// This content is released under the MIT License (http://opensource.org/licenses/MIT).
//     
// *************************************************************************************
//
//



using KretschIT.WP_Fx.EasyMoq.Test.Helpers.Objects;
using KretschIT.WP_Fx.EasyMoq.Generator.Tests.Helpers.Objects;
namespace KretschIT.WP_Fx.EasyMoq.Test.Helpers
{
    [EasyMoqRegistration]
    public sealed class EasyMoqInit : IEasyMoqRegistration
    {
        public void Register(IMockFactoryRegistration factory)
        {
            factory.Register<ITestObject, TestObjectMockable>(() => new TestObjectMockable());
            factory.Register<ITestGenericMethod, TestGenericMethodMockable>(() => new TestGenericMethodMockable());
            factory.Register<ISetter, SetterMockable>(() => new SetterMockable());
            factory.Register<IOnlySetter<bool>, OnlySetterMockable<bool>>(() => new OnlySetterMockable<bool>());
            factory.Register<ITestEvents, TestEventsMockable>(() => new TestEventsMockable());
        }
    }
}
